/**
 * 
 */
package org.wolf.common.config;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author 何小锋
 * 
 */
@XmlRootElement(name = "wolf")
@XmlAccessorType(XmlAccessType.NONE)
public class WolfCfg implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@XmlElementWrapper(name = "webs")
	@XmlElement(name = "web")
	private List<WebCfg> webs;
	@XmlElement(name = "cluster")
	private ClusterCfg cluster;

	public List<WebCfg> getWebs() {
		return webs;
	}

	public void setWebs(List<WebCfg> webs) {
		this.webs = webs;
	}

	public ClusterCfg getCluster() {
		return cluster;
	}

	public void setCluster(ClusterCfg cluster) {
		this.cluster = cluster;
	}

}
